<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MRSL JPS3D Library: JPS::State Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MRSL JPS3D Library
   &#160;<span id="projectnumber">1.1</span>
   </div>
   <div id="projectbrief">An implementaion of Jump Point Search on 3D voxel map</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>JPS</b></li><li class="navelem"><a class="el" href="structJPS_1_1State.html">State</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structJPS_1_1State-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">JPS::State Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Node of the graph in graph search.  
 <a href="structJPS_1_1State.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="jps__planner_2graph__search_8h_source.html">graph_search.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a574a1c732c40b943df83fcb7c3726473"><td class="memItemLeft" align="right" valign="top"><a id="a574a1c732c40b943df83fcb7c3726473"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#a574a1c732c40b943df83fcb7c3726473">State</a> (int <a class="el" href="structJPS_1_1State.html#a12b7e5ae25094c25bcb5e5dedfcbf576">id</a>, int <a class="el" href="structJPS_1_1State.html#a365c33bb80f59adc38adc5c92309a9e4">x</a>, int y, int <a class="el" href="structJPS_1_1State.html#afaa913dcc116c136a292f5297899f8b8">dx</a>, int dy)</td></tr>
<tr class="memdesc:a574a1c732c40b943df83fcb7c3726473"><td class="mdescLeft">&#160;</td><td class="mdescRight">2D constructor <br /></td></tr>
<tr class="separator:a574a1c732c40b943df83fcb7c3726473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aa15ff70720179c76d025808d76c300"><td class="memItemLeft" align="right" valign="top"><a id="a3aa15ff70720179c76d025808d76c300"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#a3aa15ff70720179c76d025808d76c300">State</a> (int <a class="el" href="structJPS_1_1State.html#a12b7e5ae25094c25bcb5e5dedfcbf576">id</a>, int <a class="el" href="structJPS_1_1State.html#a365c33bb80f59adc38adc5c92309a9e4">x</a>, int y, int z, int <a class="el" href="structJPS_1_1State.html#afaa913dcc116c136a292f5297899f8b8">dx</a>, int dy, int dz)</td></tr>
<tr class="memdesc:a3aa15ff70720179c76d025808d76c300"><td class="mdescLeft">&#160;</td><td class="mdescRight">3D constructor <br /></td></tr>
<tr class="separator:a3aa15ff70720179c76d025808d76c300"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a12b7e5ae25094c25bcb5e5dedfcbf576"><td class="memItemLeft" align="right" valign="top"><a id="a12b7e5ae25094c25bcb5e5dedfcbf576"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#a12b7e5ae25094c25bcb5e5dedfcbf576">id</a></td></tr>
<tr class="memdesc:a12b7e5ae25094c25bcb5e5dedfcbf576"><td class="mdescLeft">&#160;</td><td class="mdescRight">ID. <br /></td></tr>
<tr class="separator:a12b7e5ae25094c25bcb5e5dedfcbf576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a365c33bb80f59adc38adc5c92309a9e4"><td class="memItemLeft" align="right" valign="top"><a id="a365c33bb80f59adc38adc5c92309a9e4"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#a365c33bb80f59adc38adc5c92309a9e4">x</a></td></tr>
<tr class="memdesc:a365c33bb80f59adc38adc5c92309a9e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coord. <br /></td></tr>
<tr class="separator:a365c33bb80f59adc38adc5c92309a9e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae27d9b0149d3cccff545091f2bf3d647"><td class="memItemLeft" align="right" valign="top"><a id="ae27d9b0149d3cccff545091f2bf3d647"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
<tr class="separator:ae27d9b0149d3cccff545091f2bf3d647"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a470828e08a3349512b0e73bdb0f0de16"><td class="memItemLeft" align="right" valign="top"><a id="a470828e08a3349512b0e73bdb0f0de16"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>z</b> = 0</td></tr>
<tr class="separator:a470828e08a3349512b0e73bdb0f0de16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa913dcc116c136a292f5297899f8b8"><td class="memItemLeft" align="right" valign="top"><a id="afaa913dcc116c136a292f5297899f8b8"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#afaa913dcc116c136a292f5297899f8b8">dx</a></td></tr>
<tr class="memdesc:afaa913dcc116c136a292f5297899f8b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">direction <br /></td></tr>
<tr class="separator:afaa913dcc116c136a292f5297899f8b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c4c679b3c224cf90b52ad3e9943f406"><td class="memItemLeft" align="right" valign="top"><a id="a7c4c679b3c224cf90b52ad3e9943f406"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>dy</b></td></tr>
<tr class="separator:a7c4c679b3c224cf90b52ad3e9943f406"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22dd46399b68f8d276c93aabeec338ad"><td class="memItemLeft" align="right" valign="top"><a id="a22dd46399b68f8d276c93aabeec338ad"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>dz</b></td></tr>
<tr class="separator:a22dd46399b68f8d276c93aabeec338ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b66f81604569c64048119fcd9fd04ec"><td class="memItemLeft" align="right" valign="top"><a id="a4b66f81604569c64048119fcd9fd04ec"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#a4b66f81604569c64048119fcd9fd04ec">parentId</a> = -1</td></tr>
<tr class="memdesc:a4b66f81604569c64048119fcd9fd04ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">id of predicessors <br /></td></tr>
<tr class="separator:a4b66f81604569c64048119fcd9fd04ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf96d238c1b7ecd569f8ab01c0945712"><td class="memItemLeft" align="right" valign="top"><a id="abf96d238c1b7ecd569f8ab01c0945712"></a>
priorityQueue::handle_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#abf96d238c1b7ecd569f8ab01c0945712">heapkey</a></td></tr>
<tr class="memdesc:abf96d238c1b7ecd569f8ab01c0945712"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to heap location <br /></td></tr>
<tr class="separator:abf96d238c1b7ecd569f8ab01c0945712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d2798ded4f56d41a29152d5a401163d"><td class="memItemLeft" align="right" valign="top"><a id="a1d2798ded4f56d41a29152d5a401163d"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#a1d2798ded4f56d41a29152d5a401163d">g</a> = std::numeric_limits&lt;double&gt;::infinity()</td></tr>
<tr class="memdesc:a1d2798ded4f56d41a29152d5a401163d"><td class="mdescLeft">&#160;</td><td class="mdescRight">g cost <br /></td></tr>
<tr class="separator:a1d2798ded4f56d41a29152d5a401163d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac7a7ca5b583f599cd129243c73de59d"><td class="memItemLeft" align="right" valign="top"><a id="aac7a7ca5b583f599cd129243c73de59d"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#aac7a7ca5b583f599cd129243c73de59d">h</a></td></tr>
<tr class="memdesc:aac7a7ca5b583f599cd129243c73de59d"><td class="mdescLeft">&#160;</td><td class="mdescRight">heuristic cost <br /></td></tr>
<tr class="separator:aac7a7ca5b583f599cd129243c73de59d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b5adc47eed218e844b62e14bd90863"><td class="memItemLeft" align="right" valign="top"><a id="a43b5adc47eed218e844b62e14bd90863"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#a43b5adc47eed218e844b62e14bd90863">opened</a> = false</td></tr>
<tr class="memdesc:a43b5adc47eed218e844b62e14bd90863"><td class="mdescLeft">&#160;</td><td class="mdescRight">if has been opened <br /></td></tr>
<tr class="separator:a43b5adc47eed218e844b62e14bd90863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa56de0397bc14c03ed5c3311f5710b43"><td class="memItemLeft" align="right" valign="top"><a id="aa56de0397bc14c03ed5c3311f5710b43"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structJPS_1_1State.html#aa56de0397bc14c03ed5c3311f5710b43">closed</a> = false</td></tr>
<tr class="memdesc:aa56de0397bc14c03ed5c3311f5710b43"><td class="mdescLeft">&#160;</td><td class="mdescRight">if has been closed <br /></td></tr>
<tr class="separator:aa56de0397bc14c03ed5c3311f5710b43"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Node of the graph in graph search. </p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/jps_planner/jps_planner/<a class="el" href="jps__planner_2graph__search_8h_source.html">graph_search.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
